using System;
using System.Collections.Generic;
using System.Windows.Forms;

namespace QuanLyPhongKham
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            InitDevExpress();
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new MainForm());
        }

        private static void InitDevExpress() {
            DevExpress.UserSkins.BonusSkins.Register();
            DevExpress.Skins.SkinManager.EnableFormSkins();
            var style = AppSettingController.Get<string>("SystemStyle");
            if (style == null || style == string.Empty)
                style = "Office 2010 Blue";
            DevExpress.LookAndFeel.UserLookAndFeel.Default.SetSkinStyle(style);
        }
    }
}